package controller.action;

import model.service.AdminService;

import com.opensymphony.xwork2.ActionSupport;

public class admin extends ActionSupport{
	private String result;
	private AdminService adminService;
	private String adminInfo;
	
	
	
	public void setAdminInfo(String adminInfo) {
		this.adminInfo = adminInfo;
	}

	public String getResult() {
		return result;
	}

	public void setAdminService(AdminService adminService) {
		this.adminService = adminService;
	}
	
	public String adminLogin()
	{
		result = adminService.login(adminInfo);
		return SUCCESS;
	}
	

}
